﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    /// <summary>
    /// 副本模式
    /// </summary>
    public enum RadioType
    {
        /// <summary>
        /// 简单模式
        /// </summary>
        Easy,
        /// <summary>
        /// 困难模式
        /// </summary>
        Hard
    }

    /// <summary>
    /// 用于转换枚举值和实际含义的工具类
    /// </summary>
    public static class EnumConverter{
        public static string GetString(RadioType type)
        {
            switch (type)
            {
                case RadioType.Hard:
                    return "困难";
                case RadioType.Easy:
                    return "简单";
                default:
                    return "";
            }
        }
}
}
